The dialog title is currently "invisible" to the screen reader,
so alt+F2 effectively brings up a plain entry with no context.
To address this, set the entry's label-actor to the dialog title,
so we export a proper labelled-by relationship to the screen reader.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3736>
let content = new Dialog.MessageDialogContent({title});
this.contentLayout.add_child(content);
+ const [labelActor] = content;
let entry = new St.Entry({
style_class: 'run-dialog-entry',
+ labelActor,
can_focus: true,
});
ShellEntry.addContextMenu(entry);